<template>
  <!--            党建要闻部分-->
  <section class="theory-section">
    <div class="data-title-2">{{title}}</div>
    <slot name="left-decoration"></slot>
    <slot name="right-decoration"></slot>
    <slot name="more"></slot>
    <slot name="content"></slot>
  </section>
</template>

<script setup>
defineProps({
  title: String,
})
</script>

<style scoped>
.theory-section{
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.data-title-2 {
  margin: 0 auto;
  width: 10rem;
  height: 3.5rem;
  font-weight: 700;
  text-align: center;
  font-size: 2rem;
  color: rgba(156, 0, 0, 1);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  border-bottom: 3.5px solid rgba(156, 0, 0, 1);
}
</style>
